<?php
/**
 * Badger Class - for retrieving the badges
 * 
 * @author David Christian Liedle <david.liedle@gmail.com>
 * @license http://opensource.org/licenses/MIT MIT License
 * @link http://badger.googlecode.com/ Project site on Google Code
 * 
 */

class Badger {
    
    public $base_url; // Set to your website's base
    
    public function __construct(){
        
        $this->base_url = 'http://apiari.us/'; // Initializes to APIARI.US
        
    } // End of public function __construct()
    
    public function get_badge( $common_name, $size=null, $variant=null ){
        
        $v['opendns']['150']['52']['yellow'] = '
            <!-- OpenDNS button -->
            <a title="Use OpenDNS to make your Internet faster, safer, and smarter." href="http://www.opendns.com/share/"><img src="http://images.opendns.com/buttons/use_opendns_155x52.gif" width="155" height="52" style="border:0;" alt="Use OpenDNS" /></a>
            <!-- / end OpenDNS button -->
            ';
        
    } // End of public function get_badge( $common_name, $size=null, $variant=null )
    
} // End of class Badger
